<aside class="case-sidebar" role="complementary">
    <nav id="myAffix1" class="sidebar hidden-print affix-top">
        <ul id="accordion" class="accordion list-unstyled">
        <!--channel{app="DuxCms" label="categoryList" parent_id=7  limit=10}-->
        <li>
            <div class="link"><a href="{$channel.curl}">{$channel.name}</a><i class="fa fa-angle-down"></i></div>
            <ul class="submenu">
                <!--list{app="DuxCms" label="categoryList" parent_id=$channel['class_id'] limit=10}-->
                <li><a <!--if{$list['class_id']==$categoryInfo['class_id']}-->class="active"<!--{/if}--> href="{$list.curl}">{$list.name}</a></li>
                <!--{/list}-->
            </ul>
        </li>
        <!--{/channel}-->
        </ul>
    </nav>
</aside>
<script>
    $('#myAffix').affix({
        offset: {
            top: 400,
            bottom: function () {
                return (this.bottom = $('.footer').outerHeight(true))
            }
        }
    })
</script>


